include $(top_srcdir)/automake/compile.am

if LIBNETWORKING
project_lib_LIBRARIES = libpppd.a

$(PROJECT_LIB)/libpppd.a: libpppd.a
	$(INSTALL_DATA) $< $(PROJECT_LIB)/libpppd.a
TMPINSTALL_FILES = $(PROJECT_LIB)/libpppd.a

libpppd_a_SOURCES = auth.c ccp.c ccp.h chap.c chap.h chap_ms.c chap_ms.h \
    chat.c demand.c fsm.c fsm.h ipcp.c ipcp.h lcp.c lcp.h magic.c magic.h \
    options.c upap.c upap.h utils.c sys-rtems.c \
    rtemsmain.c rtemspppd.c rtemspppd.h pppd.h patchlevel.h pathnames.h \
    rtemsdialer.h
libpppd_a_CPPFLAGS = $(AM_CPPFLAGS) -D__BSD_VISIBLE -I$(srcdir)/../libmd
endif

include $(top_srcdir)/automake/local.am
